﻿using System;
using Competition.Domain.ValueObjects;

namespace Competition.Application.DTO
{
    public class NewsDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Html { get; set; }
        /// <summary>
        /// 纯文本
        /// </summary>
        public string Text { get; set; }
        /// <summary>
        /// 封面
        /// </summary>
        public string Cover { get; set; }

        public string Link { get; set; }
        public NewsEnum ClassId { get; set; }
    }
}